<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
  <head>
    <th:block th:replace="~{/_include/header}" />
    <meta name="page-help" content="https://getrebuild.com/docs/admin/approval" />
    <title>[[${bundle.L('审批流程')}]]</title>
  </head>
  <body>
    <div class="rb-wrapper rb-fixed-sidebar rb-collapsible-sidebar rb-collapsible-sidebar-hide-logo rb-color-header rb-aside" th:classappend="${sideCollapsedClazz}">
      <th:block th:replace="~{/_include/nav-top}" />
      <th:block th:replace="~{/_include/nav-left-admin(active='robot-approval')}" />
      <div class="rb-content">
        <aside class="page-aside">
          <div class="rb-scroller">
            <div class="aside-tree">
              <h5 class="config-title">[[${bundle.L('应用实体')}]]</h5>
              <ul class="list-unstyled">
                <li class="active"><a>[[${bundle.L('全部实体')}]]</a></li>
              </ul>
            </div>
          </div>
        </aside>
        <div class="page-head">
          <div class="float-left"><div class="page-head-title">[[${bundle.L('审批流程')}]]</div></div>
          <div class="float-right pt-1">
            <div class="btn-group">
              <button class="btn btn-primary J_add" type="button"><i class="icon zmdi zmdi-plus"></i> [[${bundle.L('添加')}]]</button>
              <button class="btn btn-primary dropdown-toggle w-auto" type="button" data-toggle="dropdown"><span class="icon zmdi zmdi-chevron-down"></span></button>
              <div class="dropdown-menu dropdown-menu-primary dropdown-menu-right">
                <a class="dropdown-item J_referral"><i class="icon mdi mdi-account-arrow-right-outline"></i> [[${bundle.L('批量转审')}]]</a>
              </div>
            </div>
          </div>
          <div class="float-right pt-1 mr-2">
            <div class="input-group input-search">
              <input class="form-control" type="text" th:placeholder="${bundle.L('查询')}" maxlength="40" />
              <span class="input-group-btn">
                <button class="btn btn-secondary" type="button"><i class="icon zmdi zmdi-search"></i></button>
              </span>
            </div>
          </div>
          <div class="clearfix"></div>
        </div>
        <div class="main-content container-fluid pt-0">
          <div class="card card-table">
            <div class="card-body">
              <div class="dataTables_wrapper container-fluid">
                <div class="row rb-datatable-body">
                  <div class="col-sm-12">
                    <div class="rb-loading rb-loading-active data-list">
                      <table class="table table-hover table-striped table-fixed tablesort">
                        <thead>
                          <tr>
                            <th>[[${bundle.L('名称')}]]</th>
                            <th>[[${bundle.L('应用实体')}]]</th>
                            <th>[[${bundle.L('使用情况')}]]</th>
                            <th width="80" class="no-sort">[[${bundle.L('启用')}]]</th>
                            <th width="120" class="no-sort">[[${bundle.L('修改时间')}]]</th>
                            <th width="80" class="no-sort"></th>
                          </tr>
                        </thead>
                        <tbody id="dataList"></tbody>
                      </table>
                      <th:block th:replace="~{/_include/spinner}" />
                      <div class="list-nodata hide">
                        <span class="mdi mdi-progress-check"></span>
                        <p>[[${bundle.L('暂无审批流程')}]]</p>
                      </div>
                    </div>
                  </div>
                </div>
                <div id="pagination">
                  <div class="row rb-datatable-footer">
                    <div class="col-sm-3"><div class="dataTables_info"></div></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <th:block th:replace="~{/_include/footer}" />
    <script th:src="@{/assets/lib/jquery.tablesort.min.js}"></script>
    <script th:src="@{/assets/js/admin/config-comps.js}" type="text/babel"></script>
    <script th:src="@{/assets/js/admin/approval-list.js}" type="text/babel"></script>
  </body>
</html>
